package com.sean.iphoneAppWorkspace;

import android.util.Log;

public class DataVo {
	
	public static final String TAG = "DataVo";

	private String text;
	private int icon;
	private int position;
	private int[] sourceCoordinate = new int[2];
	private int[] targetCoordinate = new int[2];
	
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public int getIcon() {
		return icon;
	}
	public void setIcon(int icon) {
		this.icon = icon;
	}
	public int getPosition() {
		return position;
	}
	public void setPosition(int position) {
		Log.i(TAG, "Change " + text + " position from " + this.position + " to " + position);
		this.position = position;
	}
	public int[] getSourceCoordinate() {
		return sourceCoordinate;
	}
	public void setSourceCoordinate(int x, int y) {
		this.sourceCoordinate[0] = x;
		this.sourceCoordinate[1] = y;
	}
	public int[] getTargetCoordinate() {
		return targetCoordinate;
	}
	public void setTargetCoordinate(int x, int y) {
		this.targetCoordinate[0] = x;
		this.targetCoordinate[1] = y;
	}
	
	
	
}
